Socket
Socket
Sign inDemoInstall

lodash.camelcase

Package Overview
Dependencies
0
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lodash.camelcase

The lodash method `_.camelCase` exported as a module.


Version published
Weekly downloads
13M
increased by2.02%
Maintainers
3
Install size
22.5 kB
Created
Weekly downloads
 

Package description

What is lodash.camelcase?

The lodash.camelcase npm package is a utility function from the Lodash library, specifically designed to convert strings into camelCase format. This is useful in programming environments where camelCase is a standard naming convention, such as in JavaScript for variable and function names.

What are lodash.camelcase's main functionalities?

String Conversion to camelCase

Converts strings with spaces, dashes, underscores, or mixed separators to camelCase format, which is a common requirement in various coding standards and practices.

const _ = require('lodash.camelcase');
console.log(_.camelCase('FOO BAR')); // 'fooBar'
console.log(_.camelCase('--foo-bar--')); // 'fooBar'
console.log(_.camelCase('__FOO_BAR__')); // 'fooBar'

Other packages similar to lodash.camelcase

Readme

Source

lodash.camelcase v4.3.0

The lodash method _.camelCase exported as a Node.js module.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.camelcase

In Node.js:

var camelCase = require('lodash.camelcase');

See the documentation or package source for more details.

Keywords

FAQs

Last updated on 13 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc